<template>
  <div>
    父组件
    <hr />
    <HmSon @MyClick="fn($event)"></HmSon>
  </div>
</template>

<script>
import HmSon from "./HmSon.vue";
export default {
  components: {
    HmSon,
  },
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  created() {},
  methods: {
    fn(num) {
      console.log(num);
    },
  },
};
</script>

<style scoped></style>
